package com.amado.course37CharStream;

import java.io.FileReader;
import java.io.IOException;

public class S01FileReader {
	public static void main(String[] args) throws IOException {
		FileReader fr = new FileReader("F:\\temp抽奖活动需求\\抽奖方式设置.html");
		char[] chars = new char[100];
		int size = fr.read(chars);
		while (size != -1) {
			System.out.print(new String(chars));
			size = fr.read(chars);
		}
		fr.close();

	}
}
